<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
  <head>
    
    <title>考勤 - 请假 </title>

	<script type="text/javascript" src="<%=basePath %>/jquery/My97DatePicker/WdatePicker.js"></script>
	<link rel="stylesheet" href="<%=basePath %>/jquery/My97DatePicker/skin/WdatePicker.css" type="text/css"></link>
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/css/manual.css">
	
	<link rel="stylesheet" href="<%=basePath %>/jquery/themes/base/jquery.ui.all.css">
  	<link rel="stylesheet" href="<%=basePath %>/jquery/demos.css">
  	<script src="<%=basePath %>/jquery/jquery-1.4.2.js"></script>
  	
  	<script src="<%=basePath %>/jquery/ui/jquery.ui.core.js"></script>
	<script src="<%=basePath %>/jquery/ui/jquery.ui.widget.js"></script>
	 <script>
   
    
	$(function() {
		$("#date").datepicker();
			
	});
	</script>
  </head>
  
  <body>
  
  <table  width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr valign="top">
  	
  		<td height="100">
  			 <jsp:include page="/background/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr valign="top">
  		<td>
  		
   
   
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">

    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
					<s:include value="/background/left.jsp"></s:include>		
     	</td>
     	
     	
     	<td valign="top" >
     	
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		<tr>
     			<td>考勤 - 请假
     			
     			<input type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectoperatorlimitedAction_background.action?limitedCode=<s:property value="limitedcode"/>')"/>
     			</td>
     			<td align="right"> </td>
     		</tr>
     	</table>
     	
     	<table align="center">
     		<tr>
     			<td><s:fielderror id="errormessage" /></td>
     		</tr>
     	</table>
     	
    <form id="managereceiptlist_warehouse" name="managereceiptlist_warehouse" onSubmit="return true;" action="addleave_attendance.action" method="POST" >
    	
			<table  border="0" >
				<tr>
				  <td align="right" width="150">
					  操作员:
				  </td>
				  <td>
					  <s:property value="operator.name_operator" /> (<font color="#c0c0c0"><s:property value="operator.firstname_operator" /></font>)
					  <input type="hidden" name="operatorid" id="operatorid" value="<s:property value="operator.id_operator" />">
				  </td>
			  </tr>
			  
			  <tr>
				  <td align="right">
					  部门:
				  </td>
				  <td>
					 <s:property value="operator.departmentname_operator" /> 
				  </td>
			  </tr>
			  
			  <tr>
				  <td align="right">
						日期:
						</td>
						<td >
							<input type="text" id="date" name="date" value="<s:property value="date"/>" />
						</td>
			  </tr>
			  
			  

			  <tr>
				  <td align="right">
					  工作时间:
				  </td>
				  <td>
					
					 <input type="text" id="begin_leave" name="begin_leave" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate"
					  value="<s:property value="begin_leave"/>"
					 />
					  ~ 
					 <input type="text" id="end_leave" name="end_leave" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate"
					  value="<s:property value="end_leave"/>"
					 />
				  </td>
			  </tr>
			  
			   <tr>
				  <td align="right">
					 原因:
					 
				  </td>
				  <td>
				  
					
					<textarea rows="3" cols="30" name="reason_leave" id="reason_leave"></textarea>
					 
				  </td>
			  </tr>
			  
			  
			  
			    <tr>
				  <td align="right">
					  <button type="submit">提交</button>
				  </td>
				  <td>
				  
					
					
					 
				  </td>
			  </tr>
			</table>
	</form> 
	
	
		
		
		
	
			
	
			
	</td>

	
</tr>


</table>

</td>
</tr>
<tr valign="bottom">
	<td>
		<jsp:include page="/background/tail.jsp"></jsp:include>
	</td>
</tr>
</table>


  </body>
  
  

</html>
